import { BaseEntity, Column, Entity, PrimaryGeneratedColumn } from "typeorm";

@Entity({name:'order_guest'})
export class OrderGuestEntity extends BaseEntity{
    @PrimaryGeneratedColumn()
    id : number;

    @Column({
        type: "int"
    })
    orderId: number;

    @Column({
        type: "int"
    })
    guestId: number;

    @Column({
        type:'tinyint',
        default: 1
    })
    status: 0 | 1;//0：禁用，1: 启用
    
}
